package com.lvcoding.sec3.secdemo3.validatecode.img;

import com.lvcoding.sec3.secdemo3.validatecode.parent.ValidateCode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.awt.image.BufferedImage;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ImgCode extends ValidateCode {
    private BufferedImage image;

    public ImgCode(String code, int expireTime, BufferedImage image) {
        super(code, expireTime);
        this.image = image;
    }
}
